<template>
  <div class="detailMiddle">
    <div class="label-box">一栋二单元电梯1摄像头</div>
    <div v-for="(item, index) in dataList" :key="index" class="common-box">
      <div>{{ item.name }}</div>
      <div class="value-view">{{ item.value }}</div>
    </div>
    <div class="btn">
      <el-button
        round
        style="color: #01c2ff; background-color: transparent; border: 1px solid rgba(89, 175, 249, 0.7049)"
        >在线</el-button
      >
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  props: {},
  data() {
    return {
      dataList: [
        { name: "设备地址", value: "A小区二单元" },
        { name: "设备ID", value: "D342343" },
        { name: "报警总量", value: "134" },
        { name: "异常报警", value: "35" }
      ]
    }
  },
  mounted() {},
  watch: {},
  methods: {}
}
</script>

<style scoped lang="scss">
.detailMiddle {
  width: 100%;
  height: 100%;
  background: #0a1a34;
  box-sizing: border-box;
  padding: 20px;
  .label-box {
    font-size: 16px;
    font-weight: bold;
    color: #01c2ff;
  }
  .common-box {
    display: flex;
    margin-top: 10px;
    font-size: 14px;
    color: #a8d6ff;
    .value-view {
      margin-left: 20px;
    }
  }
  .btn {
    text-align: right;
  }
}
</style>
